package com.ojoin.trade.supplyloan_core.web.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ojoin.trade.common.web.domain.IDentifiable;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@JsonIgnoreProperties(ignoreUnknown = true)
public class TbSlLoanInfo implements IDentifiable, Serializable {
    private Integer id;

    private Integer idOfTbMerchantUser;

    private String totalLoanAmount;

    private String totalPayBackAmount;

    private String totalInterestRate;

    private String totalNotPaybackAmount;

    private String totalNotPaybackRate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rowUpdateTime;

    private Date rowCreateTime;

    private String totalInterestRenewedRate;

    private String totalInterestRenewedFee;

    private String totalNotPaybackRenewedRate;

    private String totalNotPaybackRenewedFee;

    private String totalInterestPenalty;

    private String totalNotPaybackPenalty;

    private String totalInterestFee;

    private String totalNotPaybackFee;

    private String totalNotPaybackRenewedAmount;

    private String totalPaybackRenewedAmount;


    public String getTotalInterestRenewedRate() {
        return totalInterestRenewedRate;
    }

    public void setTotalInterestRenewedRate(String totalInterestRenewedRate) {
        this.totalInterestRenewedRate = totalInterestRenewedRate;
    }

    public String getTotalNotPaybackRenewedAmount() {
        return totalNotPaybackRenewedAmount;
    }

    public String getTotalPaybackRenewedAmount() {
        return totalPaybackRenewedAmount;
    }

    public void setTotalPaybackRenewedAmount(String totalPaybackRenewedAmount) {
        this.totalPaybackRenewedAmount = totalPaybackRenewedAmount;
    }

    public void setTotalNotPaybackRenewedAmount(String totalNotPaybackRenewedAmount) {
        this.totalNotPaybackRenewedAmount = totalNotPaybackRenewedAmount;
    }

    public String getTotalInterestRenewedFee() {
        return totalInterestRenewedFee;
    }

    public void setTotalInterestRenewedFee(String totalInterestRenewedFee) {
        this.totalInterestRenewedFee = totalInterestRenewedFee;
    }

    public String getTotalNotPaybackRenewedRate() {
        return totalNotPaybackRenewedRate;
    }

    public void setTotalNotPaybackRenewedRate(String totalNotPaybackRenewedRate) {
        this.totalNotPaybackRenewedRate = totalNotPaybackRenewedRate;
    }

    public String getTotalNotPaybackRenewedFee() {
        return totalNotPaybackRenewedFee;
    }

    public void setTotalNotPaybackRenewedFee(String totalNotPaybackRenewedFee) {
        this.totalNotPaybackRenewedFee = totalNotPaybackRenewedFee;
    }

    public String getTotalInterestPenalty() {
        return totalInterestPenalty;
    }

    public void setTotalInterestPenalty(String totalInterestPenalty) {
        this.totalInterestPenalty = totalInterestPenalty;
    }

    public String getTotalNotPaybackPenalty() {
        return totalNotPaybackPenalty;
    }

    public void setTotalNotPaybackPenalty(String totalNotPaybackPenalty) {
        this.totalNotPaybackPenalty = totalNotPaybackPenalty;
    }

    public String getTotalInterestFee() {
        return totalInterestFee;
    }

    public void setTotalInterestFee(String totalInterestFee) {
        this.totalInterestFee = totalInterestFee;
    }

    public String getTotalNotPaybackFee() {
        return totalNotPaybackFee;
    }

    public void setTotalNotPaybackFee(String totalNotPaybackFee) {
        this.totalNotPaybackFee = totalNotPaybackFee;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIdOfTbMerchantUser() {
        return idOfTbMerchantUser;
    }

    public void setIdOfTbMerchantUser(Integer idOfTbMerchantUser) {
        this.idOfTbMerchantUser = idOfTbMerchantUser;
    }

    public String getTotalLoanAmount() {
        return totalLoanAmount;
    }

    public void setTotalLoanAmount(String totalLoanAmount) {
        this.totalLoanAmount = totalLoanAmount == null ? null : totalLoanAmount.trim();
    }

    public String getTotalPayBackAmount() {
        return totalPayBackAmount;
    }

    public void setTotalPayBackAmount(String totalPayBackAmount) {
        this.totalPayBackAmount = totalPayBackAmount == null ? null : totalPayBackAmount.trim();
    }

    public String getTotalInterestRate() {
        return totalInterestRate;
    }

    public void setTotalInterestRate(String totalInterestRate) {
        this.totalInterestRate = totalInterestRate == null ? null : totalInterestRate.trim();
    }

    public String getTotalNotPaybackAmount() {
        return totalNotPaybackAmount;
    }

    public void setTotalNotPaybackAmount(String totalNotPaybackAmount) {
        this.totalNotPaybackAmount = totalNotPaybackAmount == null ? null : totalNotPaybackAmount.trim();
    }

    public String getTotalNotPaybackRate() {
        return totalNotPaybackRate;
    }

    public void setTotalNotPaybackRate(String totalNotPaybackRate) {
        this.totalNotPaybackRate = totalNotPaybackRate == null ? null : totalNotPaybackRate.trim();
    }

    public Date getRowUpdateTime() {
        return rowUpdateTime;
    }

    public void setRowUpdateTime(Date rowUpdateTime) {
        this.rowUpdateTime = rowUpdateTime;
    }

    public Date getRowCreateTime() {
        return rowCreateTime;
    }

    public void setRowCreateTime(Date rowCreateTime) {
        this.rowCreateTime = rowCreateTime;
    }

	@Override
	public String getTableName() {
		return "tb_sl_loan_info";
	}
}